package com.childguo.impl;

import com.childguo.mapper.StuMapper;
import com.childguo.pojo.Stu;
import com.childguo.services.StuServices;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StuServicesImpl implements StuServices {
    @Autowired
    StuMapper stumapper;
    @Override
    public Stu findById(Integer id) {
        return stumapper.selectById(id);
    }
}
